Integrated pager in categories and threads, it need some improvements