A novel technique for generating hip flexion during the swing phase of gait