fixed PGUP/PGDN not working on Windows