Use PanGestureRecognizer instead of SwipeGestureRecognizer for a more responsive UI