1. A method, comprising: at a multifunction device with a display and a touch-sensitive surface: displaying on the display an electronic document that includes a plurality of document sections separated by respective logical structure boundaries; detecting a gesture on the touch-sensitive surface, wherein an initial contact of the gesture is at a location that corresponds to a first location in the electronic document, the gesture having gesture parameters that include an initial velocity; when the initial velocity of the gesture exceeds a predefined speed threshold such that the gesture will scroll the electronic document more than one document section: initiating scrolling of the electronic document on the display at the initial velocity in accordance with an initial scrolling speed versus scrolling distance function; while scrolling the electronic document on the display, adjusting the scrolling speed versus scrolling distance function so that when the scrolling speed becomes zero, a first logical structure boundary in the electronic document is displayed at a predefined location on the display; and scrolling the electronic document in accordance with the adjusted scrolling speed versus scrolling distance function.