Changed layout to masonry