The giant dipole resonance in the high spin region of deformed nuclei