updating to use newest PannelLayout