fetch paginated posts for a topic