add pagination for SubjectList and ItemList