refresh widget panel after resize