Allows a way to opt-out of storing url hash since it causes page jumps.

this provides a means of opting out of storing hash fragments in URL since it causes a page jump when expanding the section headers. Otherwise, the default functionality is preserved.