New demo code for input and parallax