cut off longer headings for the page navigation