fix mouse scroll bug, to be continued