A non-transitory computer-readable medium including computer program instructions, which when executed by an electronic device having a touch sensor and circuitry, cause the electronic device to:
- switch from (1) displaying, on a display, a first screen of a first application as a parent screen and displaying a second screen of a second application as a child screen, to (2) displaying, on the display, the first screen as the child screen and displaying the second screen of the second application as the parent screen, in response to receiving a substantially straight line gesture input in a plane of the touch sensor, the substantially straight line gesture either (i) starting from inside the second screen of the second application displayed as the child screen and moving into the first screen of the first application displayed as the parent screen, or (ii) starting from inside the first screen displayed as the parent screen and moving into the second screen of the second application displayed as the child screen.