fix category pagination; add category highlighting