adds listener and handler for double click on markers, and function to close an infoWindow