scrollspy: support for href URIs that don't start with # (issue 12227)

my fix for issue #12227:
- in refresh, anything before the # in the href attribute is discarded
- in activate, href$= is used, to ignore anything which might be before the #