pagination demo
minor fixes in doc