Updated to get topbar working. No changes to footer, functions.php now uses foundation.min.js. removed foundation.js and topbar.js from main js folder. Changed line 38 of js/foundation/foundation.topbar.js from stick to sticky