adds functioning toggle flyout nav