Fix scroll_up/down in multi-lines mode