fix css glitch on the main page