Use PanGestureRecognizer to move the pad