update viewDidScroll event