fix scroll up/down bug
Merge branch 'master' of https://github.com/luckyan315/cute-putty
code refactor