adding auto rtl for text input