Got v1 working

The pinch now cancels out panning so we can keep the screen locked on
the center while zooming in and out. Still some issues.