added card xib and can take snapshot of card