Create masonry layout