Some improvements to RTL

Hi. This is some improvement to styles for supporting RTL languages better.