fixed glitch with media queries