Hello, I'm using this code to move scroll to the horizontal center when entering website.
It works well on Firefox. But if I press refresh on Safari or Chrome, scroll doesn't come back to the...