fixed bug: user can flip card prematurely