category per page now works!