trying to avoid the blink effect where restoring high contrast after navigation