added pagination to system theme