Adding API to access the panGestureRecognizer.