#make the text animation smooth