Limit number of items displayed. Fixes #3