Made the demo code disappear when the transitionButton is clicked for the first time.