improved velocity behavior, handling lastUpdated better, changing state when velocity reaches zero