Handle pinch to zoom gesture.