Added auto-panning to the map