adds pinch to zoom and panning
Various refactoring
Merge pull request #25 from IDKJava/pan-zoom

adds pinch to zoom and panning