Changes in the control of obstacle crossing in middle age become evident as gait task difficulty increases.