I notice that some of the menus do not collapse when switching on occasion, sales & purchases mostly.
This is not a bad thing, in fact, for those with a large monitor it can be beneficial as it can save many, many clicks in a single day as we very often go between sales & purchases.
It's simple enough to use the calculation of the page height to determine whether to auto collapse the menus ?