finalizing infowrap custom media query detection