A pure logic component for one-axis decelerated scrolling