Hide infowindow when not needed