Partial page-peel animation on a multi-screen page
A guide to making only the first two screens of a multi-section landing page behave like slides on pure JS, without pagepiling.js. We cover splitting the page into a fixed overlay and a normal flow, fighting scroll inertia via an accumulator and cooldown, syncing timings, and correctly hooking the script into a Bitrix template through component_epilog.php and Asset::addJs().