Added media query detection for retina displays