implement active category highlight