Never mind. I figured it out. I just had to add a few more keyframes during the rotation itself. Thanks for your help