1. A method for indicating, in a graphical user interface, a directory location of currently visible elements while scrolling through a tree structure, comprising: displaying data using a tree structure; responsive to a user input to scroll through the data in the tree structure, determining whether a current ancestor hierarchy of an item is displayed in a designated section of the tree structure; and displaying the current ancestor hierarchy for the item in the tree structure in response to determining whether the current ancestor hierarchy of an item is displayed in a designated section.