:bug: rightToLeft bug fix
Add horizontal/vertical support