Maxdepth in sidebar 2 instead of 4

This change makes it possible to only go two levels in the toctree from the sidebar.

Fixes #495