add chapter specific classes to navigation