fixed resize error
Merge branch 'master' into gh-pages