replace keyframe by transition