1. A computer-implemented method comprising: arranging a plurality of components of a user interface on a screen of an electronic device in a hierarchy, the hierarchy having one or more layers and each layer having at least one of the components of the user interface; and presenting the user interface according to a structure of the hierarchy, comprising: displaying a background component on a first layer of the user interface; displaying a pile of stacked images on a second layer of the user interface that overlays the first layer, wherein the pile visually indicates that there are multiple images stacked in the pile; in response to a first user input to interact with the pile of stacked images, determining a number of images to display based on a size of the screen and a predetermined size of each of a plurality of images, wherein the number of images is less than the plurality of images, and expanding the pile to display the number of images in a series, and wherein, the number of images of the expanded images cover substantially an entirety of the screen and include at least one entirely displayed image and at least one image that is only partially displayed, the at least one partially displayed image being displayed by an edge of the screen such that a remainder of the partially displayed image is displayed in response to a second user input to scroll through the expanded images, wherein scrolling through the plurality of images on the second layer of the user interface occurs independently from the background component on the first layer, and wherein the displayed images are all displayed in a layout based on the orientation of the screen.