make animation smoother