Add imagesLoaded and use it to fix Masonry issues.