Added animation for progressbar