Force the browser to repaint an element