Fixed issues with IE8 and media queries