fixing masonry by adding imagesLoaded