Ok here it is. This uses Andrew's code for page flipping but it behaves exactly the same way.
Run the project in portrait mode,Press the first or top button then when the second activity appears, Rotate the device.
On my device the screen reverts to the calling or menu screen