made changes to separate the navbar