added infowindow and click handler to pin