A device resolution media query detector