added a flip button for the flash card effect
merge with alec's material with fixed conflicts.