Add RTL support.
Merge pull request #2525 from eyalev/rtl-support

Add RTL support.