Better RTL support

Hi. This is my improvements for having better support for RTL/BiDirectional contents :) Issue 205