resize and rtl changes
Merge pull request #316 from cpirich/resize_and_rtl

resize and rtl changes