Adds offcanvas support for Table of Contents.