added the ability to center the map upon detecting movement