Improved behavior for resizing the lightweight TOC

* Fix bugs in expanding/minimizing the TOC using the resize button
* Change "dragging" behavior to more closely resemble the MSDN behavior