Scales in the fine structure of the magnetic dipole resonance: a wavelet approach to the shell model