Add items under list

I found the list is scrolling to next page whenever we select an item. Is it possible to show the subitems below the selected item?. Like the image shown in here
For example, if I select ‘Favorite’ it should list the items below ‘Favorite’ and if I select ‘Business and Economics’ it should show the subitems below ‘Business and Economics’ and close the subitems under ‘Favorite’.


Like the image shown in here

Here is “grouplist” view described in this docs. Try to use it.

And if you want to disable animation, call the following: