add animation to progress bar in MainActivity