Using pupil size min and max for color
Setting transition duration correctly