ok this code works like a gem for the animation..