for preventing or controlling movement in one direction or, selectively, in either direction