add support for enable/disable Pan Gesture