Further work on TOC menu UX
Prevent nasty overflow scroll effect while menu is open
Better touch detection for the close button + tidying up.