I recommend you have a look at the freshly created example page I've made: http://apneadiving.github.io/
Go to the sidebar section and look at the code, especially:
marker.panTo();
google.maps.event.trigger(marker.getServiceObject(), 'click');
Indeed, infowindow creation is made on click, not before, for perf concerns.