update 3.
Resizing newPanel.