UI fixed, CSS3 transform bug solved

Cards are now read from array, and array is manipulated in terms of shuffling, deleting top card, putting back in to pile etc.