Added changeState Function

Zoom can be enabled and disabled by calling the changestate function

changeState('enable');
changeState('disable');