truncate URLs with ellipses on overflow