You can install Kee Gate to either open on the right or on the left. Just make sure that the gate will close in the direction of the hazard.