Masonry refresh on window load function