The birds have what amounts to an internal compass in their brain.