cleanup toggle_sit_stand() a bit