fixed navigation flicker on desktop