Inside
颠 supplies the sound diān exactly. It also pulls semantic weight:
颠 means 'to topple, overturn, the crown of the head,' which fits the seizure-imagery at the heart of
癫 - a body shaking, falling, losing control of the top of the head. A textbook combination of clean phonetic plus reinforcing meaning.