Force mouse scroll to use integer values and added a threshold to avoid ...

..."jumps". Fixes #13