finalize media queries