removing the card layout