Improving anchor tag scroll position fix