1. A non-transitory computer readable medium storing instructions that are executable by a processing device, and upon such execution cause the processing device to perform operations comprising: displaying, in a graphical user interface (GUI) on a display device, a stack item comprising stack elements; comparing a quantity of the stack elements in the stack item with a threshold value; selecting a stack element arrangement from among a fan arrangement and a matrix arrangement based on the comparison between the quantity of the stack elements in the stack item and the threshold value, wherein, when displayed in the fan arrangement, the stack elements are distributed along a curved path; and in response to an action on the stack item, displaying the stack elements in the selected stack element arrangement, wherein the operation of displaying the stack elements in the selected stack element arrangement comprises displaying, in the selected stack element arrangement, in addition to the stack elements, a command object, which when selected, causes display of the stack elements in a file system window.