Added relayout once images are loaded