Add class property to change between LTR and RTL (direction: rtl).
If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position (at the start of the scrolled content), and then increasingly negative as you scroll towards the end of the content.
Add class property to change between LTR and RTL (direction: rtl).