Walking and slithering aren't as different as you think: At least, if you have enough legs