fixed scrolling off by one to the right error