Attempting to make nav bar dynamic