Some more RTL support for wordlist and history list (issue #384)