Update scroll direction