Proper scroll by location hash