Provide support for CSS direction since currently is only working for LTR direction.
Provide support for CSS direction since currently is only working for LTR direction.