modify topPanel and Navigation.