finished pagination for topic view