adding animation to progress slider