change from rtl to ltr based on which language is selected