pan and zoom working