Checks the media query screen size.