progressBar animation stops after completion