added slide resizing.
Merge origin/master