updated nav bar and the segment box divs