Added checking in JDOS for scrolling the screen up and down.