applyAnimation function was changed. o.textContainer was removed