added progress bar animation