gate direction changer