mathjax typeset on nav click