made the class for No Deck and made the view change according to the type of deck