Pagination in hierarchy widget for folders and items