change image-centering code to load on window.load not document.ready