adds click event to event buttons. this makes it so that when you click on a event is zooms in on that location and display a popup on the marker of that location