Dirty Cardlayout with 2 classes