implemented media query support