limit number of recent activities displayed to 5