Pan behaves correct on resize, zoom
Merge pull request #199 from irskep/todays-bugs

Pan behaves correctly on resize, zoom