Finally fixed table of contents sidebar