From tadpole to adult frog locomotion