Development and decline of upright gait stability