adds gradient to masonry pages