move velocity into libs/transitions