use foot height trajectory as reference for walking (needed for stepping down)