widget resize api added. fixed the wordcloud resize bug.