For some reason the scrollbar position is not being saved or restored properly on the ReadTheDocs site.
At first, I thought the scrollbar was not being restored due to a race condition, as I had encountered that when testing my implementation of the saving/restoring, however it seems that the values are just not persisting across page loads.