1 -It is not related to david issue.
2- I was using chrome in incognito mode so no cache, with latest beta.
3- I found the issue, the displacement is causing due to margin of an element on desktop. I made a minimal demo for understanding. when you switch from desktop to 1024px, you will notice that window will scroll to last image instead of img-3 as it has 200vh margin on desktop and none at below 1025px. if you switch back to desktop it will go back to img-3.
https://codepen.io/ShehzadAsif/pen/ExWjmbg?editors=0110
Regards,
Shehzad Asif