This looks brittle. When it comes to style details, we should be doing as little in JS as possible. Take a look at how we manage the orientation styling in `styles/settings.css`.