moved sequence of map pan in mapController