dired moves up a directory, in the new buffer, the cursor will be positioned on the directory from where it originated.
However, the other way around is not supported by default: upon returning to a subdirectory, the cursor will be placed on the first line of the
dired list regardless of the file or directory that had been most recently visited in this subdirectory. This behaviour can be confusing when quickly switching between
Is it possible to make
dired act in the intended way when entering a subdirectory?