Stabilized styling after navbar change