updated map and added click functionality with animation