adds pinch to zoom and panning

This adds pinch to zoom and panning.

Select the pan icon and use one finger to pan, two to zoom.