Add module index on the sidebar.

And adjust formatting of sidebar