add horizontal reverse to support RTL view of the document
add horizontal reverse to support RTL view of the document