Implement synchronous scrolling in demo