Rewrite displaying for a number of items

Instead of arbitrarily set paramaters in the methods themselves, the
methods will make use of the lists when determining the size of the
lists for icons