fixed two display issues of typeahead in "rtl" theme

1- position typeahead dropdown-menu from the right of it`s parent
element
2- fix default "highlighter" function which was breaking words