fix rtl mode #233
Merge pull request #399 from smbeiragh/master

fix rtl mode #233