add writing direction option when reflowing
This probably will fix #195.
Merge pull request #408 from chrox/master

add writing direction option when reflowing