fix panGestureRecognizer