Structure of magnetic resonance in 87Rb atoms