Added pagination by category

Closes #4