navbar updates with current page