A cartoon movie

help me ease my pain! There was this English TV cartoon movie about 10 years ago. It was about a couple of kids in a desert. Their fathers (?) rode horses. And there was a part where Mark Twain appears on horseback two.

And I think they time travel to have “adventure.”

It’s very vague in my memory. Pls help!

Got something to say?