A frog's nictitating membrane allows it to: