update to show map click event to toggle hiding and showing different html elements