Support shake to undo a flip.