Only close Olivero sub-menus when resize results in a different menu format