Clear scrollspy selection above first section

Closes #13563 by merging it.