fix highlightedElment when page direction is rtl
Merge pull request #71 from zoghal/fix-highlightedElement-in-rtl

fix highlightedElment when page direction is rtl