The navbar I posted here is custom and collapsible.
You should be able to salvage from that maybe? Though note that it uses a -endpoint and not -content.