Mechanism of tonic pupil