Using this structure with foundationExtendEBI.js will give you a responsive menu.
foundationExtendEBI.js
If you dynamically add or remove links, you can rebuild the menu with invokeResponsiveMenuEBI(). For more background, see this issue.
invokeResponsiveMenuEBI()