Display table of contents as a sidebar if viewport is wide enough