support horizontal scrolling in fold text