Modern SVG Pan Zoom code including support for autoscaled SVGs and touch events