Repaints the div element in webkit