adjust panel size