1. A multifunction device, comprising: a touch screen display; one or more accelerometers one or more processors; memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for: displaying a respective view of a first application on the touch screen display in a portrait orientation; detecting a first touch gesture within the respective view; in response to detecting the first touch gesture, displaying a popup view of the first application partially covering the respective view of the first application; detecting one or more second touch gestures within the popup view; in response to detecting the one or more second touch gestures within the popup view, performing an action in the first application that updates a state of the first application; while displaying the popup view, detecting rotation of the multifunction device from a portrait orientation to a landscape orientation using the one or more accelerometers, and, in response to detecting the rotation: converting the respective view to the landscape orientation, and converting the popup view into a sidebar view alongside the respective view in the landscape orientation.