scrolling fix by Chen