Handle toggling number of items to view