add resize event
Merge branch 'v0.3.4' of https://github.com/palkan/pieces into v0.3.4