Has a bug with clicking on map

The bug occurs when attempting to transition between the map page and
the page describing the venue. I believe the function in question is on
line 859, the viewVenues function.