disable MathJax if block hides