front end added card flip