Improved pan and zoom of map.