fixed resizing panel