Add map moving class.