The anime is called Magi: The Labyrinth of Magic. Rather good show that I've been watching the second season of on netflix. At first it might appear to be a kiddy one, but in reality some parts are pretty brutal. Really good fight scenes, though. Fuck the laws of physics, though.