limit the number of activities and announcements shown.