show or hide toc depending on windows size