improve categories media query