Added functionality to show horizontal scrollbar on TOC when labels are too long