progress bar fix for Firefox