fixed flickering issue on iOS with scrollTo