code tidied
cannot click on a flipped card