new version, changed to sass, added card flip