MOD: start scrolling when we're 5 lines away from margins