Support rtl languages in layout.