Adding pan for infowindow clicks