update location hash for horizontal scroll