Optical detection of magnetic resonance wiggles