masonry functionality added