how can I remove and add a new view correctly?

here is my test code: http://webix.com/snippet/624df538

AddView only works correctly once.

The 2nd time I remove the view, the webix-ui div width reduce as well. as a result, the new view will be hidden because its width is 0.

What should I do to keep the width fixed after removeView? Please help, thanks

I figure out how to solve my problem. I need to resize in the end