integrate modular media query functionality