Add ability to return to previously selected entry when moving up a directory