Support current media queries in layout