add ipad swipe to flip pages