gaze and pupilSize handler