converting keyframe to transition