On the role of global and local visual information in goal-directed walking