add collapsable TOC menu

It should look like this:
![screenshot from 2014-10-14 21 26 50](https://cloud.githubusercontent.com/assets/751535/4629709/31e9338a-53a7-11e4-9c49-7999c5a5bd29.gif)

This should close #282.