add animation for the progress