Just a simple base code for any canvas that needs multi touch support and pinch zoom/panning using gestures.  It could probably be cleaned up and refactored.