adding pagination to question category page