Added animation to bar