Disable panRecognizer when the current viewController is root