Flip mechanism of Jupiter-crossing orbits in the non-hierarchical triple system