Here’s the reason behind dim lights in airplanes before takeoff