Modified.Tried Implementation for hinding infowindows