Trying to add category pagination