Animation smooth and working correctly