get rid of more pageflip/rotation code.