added root widget resize