working on pan/zoom