make animate smooth