Added ability to pan, improved zoom functionality