completed nav UI functionality