Sort out media queries