adding pagination to roots list