Keep the sidebar toggle working when the window is resized
Before
Watch on GitHub
After
Watch on GitHub
The small-screen sidebar closes when the window gets wide, and Toggle Sidebar opens it even if it was hidden before.