Postural control in an upright snake