Adds media query for .gallery