Toroidal mode structure in weak and reversed magnetic shear plasmas and its role in the internal transport barrier