shorten url to keep a reasonable line width