shorten navbar to prevent wrapping of items