added rtl support
reverting whitespace changes
Merge pull request #1 from arieh/rtl

Added RTL support