single keyframe animation bug now fixed
cleaning code