make sure media queries don't overlap