rewriting old media queries