Add navbar functionality