adding cardLayout to pnlSlideShow