more changes for masonry to call masonry after all images have been loaded