Initialize masaonry after all images has been loaded