trying to smoothen the animations final part