support ctrl-shift-home/end on Windows

fixes issue #2989