Fixing the NavBar demo