Add animation to progress bar