Added styles and masonry functionality