fixed js bug clicking twice on stats
card front / back logic