[doc] Fix toc sidebar from changing width

This is a first change, just to remove the annoying behavior we have now. 

If you want to use the bootstrap's affix style we have to:

* change the output of the `toctree()` function
or
* add the style to mimic the affix style