fixes the issue of the closing TOC on scroll
Merge pull request #127 from ascott1/master

Fixes TOC closing on scroll