Simplifying the demo by adding delegation to the side view controller.