Added pagination to the activity feed.