This makes the role of each css definition more clear, and could allow for cases where the side is sticky in wide mode but not sticky in narrow mode.
I'm committing this so I can reference it later if I decide to try again, but for the time being I'm going to immediately revert it.