Allow parent wrapper div to be passed in so it works on all navs not just the navbar, this used to be a feature but was lost in an update