Passing config options to Foundation components has changed significantly in version 5.  Also, the top nav bar needs a data-topbar HTML attribute now.  GUI-261