PreferencesWindow: Dynamic search button placement
Currently the search button is always on the right side, which makes sense on mobile (since there's a back button on the left) but not as much on desktop since there's a close button on the right.
It'd be cool if we could switch the position dynamically, placing it on the left in the desktop case (close button) and on the right in the mobile case (back button).