added a delay to the animation