click on bar working on map