Responsive masonry-style column layouts using matchMedia API