adjusting progress bar