fix progress bar in IE and Safari