fill horizontally

proposal to resolve #1. scrolling is not considered yet. A new option "mode" is added,