Selectively scanning in one or the other of two opposite directions