refactored enable_sidebar

TODO: refactor top and side nav css into seperate files