Fixed problems with media queries