progress bar fix for Firefox and IE