eliminate browser flicker