Adds RTL support

Computes appropriate scrollbars position in case of RTL element.