Discovered by @Edtadros in T350170#9530953
**Steps to replicate the issue** (include links if applicable):
* https://en.m.wikipedia.org/wiki/Special:MobileOptions
* Resize browser
**What happens?**:
Nothing.
**What should have happened instead?**:
The expand all sections setting should display.
(It shows if you refresh the page)
**Software version** (skip for WMF-hosted wikis like Wikipedia):
**Other information** (browser name/version, screenshots, etc.):
The logic in https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/blob/master/src/mobile.special.mobileoptions.scripts.js#L168 should be revised. I would suggest unconditionally adding it and that adding CSS to hide/show #skin-client-prefs-mf-expand-sections
== QA Results - Beta
| **AC** | **Status** | **Details** |
| ----- | ----- | ----- |
| 1 | ✅ | T357486#9663644 |