When i'm using an iPhone as soon as I reloading page, safari will scroll automatically to the middle/bottom of the page. The reason I think it's because it's innerHeight value is not correct. it returns 0, but for safari 0 is the middle/bottom of page. I need to timeout approximately 800ms to let safari the time to return the correct innerHeight value
Fixed in https://stackoverflow.com/questions/52099689/mobile-safari-ios-will-scroll-bottom-page-automatically-when-reloading-page