added functionality to show list view with items