solve the nav-bar menu position issue