fix pagination for activity feed