animation with progress bar