change menu to sidebar, mathjax no longer flickers