Added click to zoom function