added programmatic control for pan and zoom