Setting or resetting the  'enabled' flag will cause the pan gesture recognized to be set or removed, accordingly.