Conversion of poloidal flows into toroidal flows by phase space structures in trapped ion resonance driven turbulence