update dist and docs
add resize callbacks to homepage and demos