fix navigationBar layout bug