add imagesLoaded for masonry layout