fix direction of page flip