updated progress bar, also works on firefox, IE10, opera