implement word.animate()