fixed scrolling in Y. added pointing device input