refactored CodeAnimation to SlicedAnimation
text