paginate the topic list and reply list