finished navbar implementation