a jointed or flexible device on which a gate, door, lid, or other swinging part turns