fix scrolling left right bug