collapse on map click