load masonry after images are loaded