better mathjax rendering
added simple pagination