wip
subnav helper
Merge pull request #245 from Petercopter/subnav-refactor

Subnav refactor