fix CSS responsiveness glitch