tweak some calculation numbers for nav classNames