What kayaman said ^^, make the walls go into a sharp turn, but at the corner of the sharp turn put a wall of shield doors, this allows the mongoose to bounce off it and onto the next part of the race.