- changed scrolling algorithm