sidebar scrolls to element when clicked on map