Only calculate visible nav items