what device uses the force of the cow trying to walk through it to open, close, and latch the gate?