Added flashcard event handlers
Fixed touch tilt bug