limit the size of the displayed list