Fix for swipe gestures in Xcode 5.1.1