resolving media queries issues