Support to disable the pan gesture recognizer