added support for media queries