Check against screensize in auto-scrolling