1. A method, comprising: displaying electronic content as part of a graphical user interface; and displaying a scroll bar having a dynamically compressible trough as part of the graphical user interface, the trough comprising at least two segments delimited by a segment division indicator, the at least two segments corresponding to respective portions of the electronic content, and the at least two segments including quantitative indicators of respective locations within the electronic content; and displaying the quantitative indicators based on a number of portions of the electronic content represented by each segment of the at least two segments, wherein the number of portions is determined based on a ceiling function of a minimum number of pixels needed per segment divided by a number of pixels available per segment when the number of pixels available per segment is less than the minimum number of pixels needed per segment.