further fixes for scrolling horizontally.