add keyframe animation to subtitle