Refactored the scroll-to-cursor stuff a bit, removed a lot of logging
Auto-scroll upward when cursor goes above screen
Refactor scrollTo so it works the same in both directions