Modify /toggle to allow stepping through the list in either direction.