Smooth up swipe gestures by disabling scrolling when a swipe starts.