A functional correlate of severity in alternating hemiplegia of childhood