masonry style added to gallery