expanding details elements on page load or when linked to

Rename expandReferredItem() to expandReferredDetails() and update to
take <summary> frag id as parameter; call expandReferredDetails() on
page load if window.location.hash refers to @id on a <summary> element