fixed $(window).resize() behavior
Merge remote-tracking branch 'origin/master' into gh-pages