Sorry theres been a mistake on the previous post. I mean i have set the keyframes tangent to "Flat Tangents" not the Linear Tangents but the animation is still not smooth. Hope theres a solution for this.