removes size from panel