Clicking on a marker open and closes an infoWindow