before adding pinch to zoom