Pan and zoom working