animations on pan and zoom