Add bidi counterparts for float and text alignment