Added destroy of widget coords and resize api