implemented click to zoom