By alternately raising and lowering its two heads, it balances itself to be more stable while running.