Genetic and sensory mechanisms for locomotion and orientation in animals.