Allow disabling of pan gesture