In the function BackgroundButtonRelease(), the following line should be added right after tk2dUIManager.Instance.OnInputUpdate -= BackgroundOverUpdate;
swipeCurrVelocity = 0;
Without it, child uiItems will get un-pressed by tk2dUIManager's OverrideClearAllChildrenPresses() if you try to click after scrolling.