publish: Scrollspy offset fixes.

generated from commit 912fc901f766b37c2a0b2a56f58c8fd0c8c3d4f5