Hacks to fix sidebar collapsing

Its ugly but it should fix #3 

P.S. Thanks for the youtube videos on math \m/