Added ability to remember panel sizes after resize.