how to make the progress bar 100 % complete