progress bar design
fix determining progress position
time style