This example will automatically dock the sidebar if the page width is above 800px (which is currently true).
This functionality should live in the component that renders the sidebar. This way you're able to modify the sidebar and main content based on the responsiveness data. For example, the menu button in the header of the content is now hidden because the sidebar is visible.