Hacks to fix sidebar collapsing

Its ugly but it should fix #3
Merge pull request #4 from friesencr/fix_sidebar_collapsing

Hacks to fix sidebar collapsing