fixed page swipes under iOS 6, rewrote the code to change pages on a tap