set the animation for the text duration to 500