fixing pagination reset
Merge branch 'master' into gh-pages