Add resize event and display widget on canvas.show
User can resize the widget from IPython notebook.