changed the top navigation bar to a flex implementation