Adjusting TOC media queries