call masonry on image load