Removed legacy code

I forgot to remove the code related to the sidebar (which was deprecated a while back).
Fixes #340; CTD source