mathjax fix for light theme
style, layout, markup cleanup, navbar