updates for map and swipe events