Fix navigation list wrapping