fix for RTL: the content direction should be RTL