change menu state when section is changed