Five Review Rounds on a Scroll-Animated Landing Page: How We Polish for Phones
Five rounds of mobile design review on a scroll-animated landing page: a redesign we threw out, a spacing rule we measured, and a bug only a real phone showed.
Key Takeaways
- Our internal review runs in short rounds. A reviewer on our team sends a sentence and a screenshot, a developer makes the change, the reviewer checks it on a phone against a running build, and the next round starts.
- Our first redesign of a statement section came back as "too simple". We fixed it by merging the statement into the next section, where it now sits above the wheel animation.
- A script that scrolls the page in a headless browser measured the empty screen between sections. With one spacing token,
--section-space, replacing about ten different paddings, gaps on phones went from 21–241px to 82–118px.- One fix scored perfectly in that script and still made a pinned section wobble on a real phone. We now have a written rule: pinned sections never move their content vertically while you scroll.
Kuvuty is a learning platform that will teach university subjects and practical skills in Kiswahili, starting in Tanzania. We designed, built and run kuvuty.com and the platform behind it.
The site is a long scroll of poster-style sections in navy on cream. Several sections pin to the screen and play an animation as you scroll: a giant wheel that turns through Lecture, Understand and Exam, a phone showing the app, a chat between a student and an instructor, and a tape measure pulled out of its case. The pinning and scroll-linked animation run on GSAP ScrollTrigger. Most visitors will arrive on phones, often on mobile data, so we design for the phone layout first, as we do on every custom website.
After the main build, every page goes through our own design review before release. This post follows one morning of that review on the Kuvuty landing page, which took five rounds.
How a review round works
Each round opened with a note of one or two sentences and a screenshot. The first one read: "the layout of the course card doesn't work. the image looks weird centered, and the buttons and pills on the right are too much."
When a note complained about space ("too much", "too little", "not consistent"), the developer measured it instead of adjusting by eye. Each change was checked in English and Kiswahili, whose lines run longer, at three phone sizes (375×812, 375×667 and 390×700) and two desktop widths, including a check that nothing scrolls sideways. Typecheck and lint ran after every round and passed each time.
A development build ran all morning, so the reviewer could open each change on a phone a few minutes after it was made.
Round 1: a course card with too much going on
When the catalog has one course, the shelf shows it as a large feature card. The cover kept its own shape and floated in the middle of its column, with navy above and below. The right side held a publisher, a very large title, six lines of description, three pills, a big button and a publication date.

We widened the cover's column and let the cover fill it edge to edge (object-fit: cover, at least 16:10). The title shrank, the description dropped from six lines to four, the three pills became one quiet line ("40 lessons · Beginner · English"), and the button became a text label beside a small round arrow. We removed the date.

This screenshot comes from a local build, where course covers don't load, so the card shows its typographic fallback. On kuvuty.com it shows the real cover. To test the crop locally, we injected a temporary 16:9 image in the browser instead of touching the code.
| Before | After | |
|---|---|---|
| Columns | 1.15fr / 1fr | 1.35fr / 1fr |
| Cover | own shape, centered | fills its column, at least 16:10 |
| Description | 6 lines | 4 lines (3 on phones) |
| Facts | 3–4 pills | one line at 70% opacity |
| Action | 3.25rem pill button | label + 2.75rem round arrow |
| Date | shown | removed |
| Stacks below | 48rem | 64rem |
Between 48rem and 64rem, the text column grew tall enough to crop a wide cover hard, so the card now stacks into one column earlier. The card passed review in the next round.
Round 2: a redesign that came back as "too simple"
The same note covered the statement "Study in the language you know." It filled a whole screen with three staggered lines of giant type and two small notes floating on either side. The section pinned the page for 1.5 screens while the lines slid in. On phones the pin felt jumpy and the notes landed in odd places.

Our first redesign stripped it down to one left-aligned block, with "language" on a navy capsule, the two notes underneath and no pin. The reviewer sent it back: "too simple… too much empty space." On a phone it was a short block of type in a lot of cream, with nothing else on the screen to look at (left, in the image below).
The reviewer suggested merging it into the next section and dropping the call to action that would become redundant. That section was the degree wheel, which had its own two-line title and a "Join the waitlist" button sitting one scroll below the hero's identical button.
The statement now heads the wheel's pinned screen. As the wheel rolls up, the three lines rise out of their masks and the capsule draws in behind "language", all tied to the scroll position. Underneath sit the problem ("Education shouldn't be hard because of language.") and the wheel's answer for each stop, which changes as the wheel turns. Merging let us delete the wheel's old title, its button, a sentence that repeated the hero and an 87-line component.

Left: the rejected version. Middle: the first merge, with about 125px of empty cream above the wheel. Right: the text block centered in the space the wheel leaves.
To close the gap in the middle screenshot, we gave the heading block a minimum height of "screen minus the wheel's height", the same formula the wheel uses to size itself, and centered the text inside it.
Round 3: two pinned sections with empty screens
A chat that started half a screen late
One section restages an exchange from a study of 83 students at five tertiary institutions in Dar es Salaam, which used questionnaires and recorded class tasks (Kitalima, 2026). A student asks whether they can say something in Kiswahili, and the instructor answers "No, English please." The question bubble started centered in a full-screen stage, so once the section above had scrolled away, the visitor saw about 320px of blank page before the bubble appeared.

The conversation now starts at the top of its stage. On upright screens the reply also arrives earlier in the animation, so the space under the question stays empty for less of the scroll.
A tape measure that showed three letters at a time
The tape measure prints the section's message along the tape as the scroll pulls it out. That works on desktop, but on a 375px phone the printed sentences ran 1,016 to 2,212px long, the case hid part of the tape, and you could read about three letters at once. The section also lasted 6.7 screens of scrolling, and the bottom 45% of the screen stayed empty.

On phones and upright tablets, the tape now prints the six trades the workshops will cover: carpentry, tailoring, welding, masonry, car repair and cooking. Each word fits, so the statements moved under the tape, set in display type, with half a screen of scroll each. With that change, the section dropped from 6.7 to 3.5 screens.
Fitting the words took three tries. The first showed only "CAR" and the second "CARPE". The third starts with the tape fully out, shrinks the case a little and sizes the type to the ~205px of tape visible left of the case.
Halfway through this round, the chat's counters froze at "0 of 83" in our preview window. It looked like a bug in the animation. Measuring the frame rate showed the window had stopped drawing frames because it was out of view. We moved all visual checks to a headless browser, where the counters reached their final values, and left the code alone.
Round 4: measuring and evening out section gaps
The fourth note read: "section spacing isn't consistent, especially on mobile."
To put numbers on it, we wrote a small script. It opens the page in a headless browser at phone and desktop sizes and scrolls through each section slowly, so the scroll animations keep up. For every section it records how much empty screen sits above the first visible content as the section arrives, and below the last visible content as it leaves. Add one section's "below" to the next one's "above" and you have the gap a visitor sees between them.
| From → to | Phone before | Phone after | Desktop before | Desktop after |
|---|---|---|---|---|
| Hero → statement and wheel | 94 | 118 | 54 | 136 |
| → Every course, four things | 21 | 101 | 33 | 158 |
| → Data | 210 | ~100 | 141 | 143 |
| → Research chat | 101 | 108 | 280 | 143 |
| → Tape measure | 100 | 113 | 68 | 166 |
| → Course card | 241 | 117 | 257 | 175 |
| → Footer | 101 | 97 | 181 | 150 |
Empty pixels between one section's last visible content and the next one's first. Phone 375×812, desktop 1440×900.
Each section had been given its own top and bottom padding over time: 1rem in one, 3svh in another, a clamp() on top with a different clamp() underneath. The pinned sections, which are exactly one screen tall, also left their spare height wherever their layout put it, usually all at the bottom.
We replaced all of it with one token:
:root {
/* 48px on phones, about 74px at 1440px, never more than 88px */
--section-space: clamp(3rem, 1.75rem + 3.2vw, 5.5rem);
}Every section now keeps at least that much space above and below its visible content, so two neighbors always sit about twice that apart. Plain sections use the token as padding. Pinned sections use it too, and have to spread their spare height instead of piling it in one place. The token alone did not fix two parts of the page:
- The section after the wheel takes double the space, because the wheel runs off the bottom of its screen and has none of its own to give.
- Notes that change length with each stop of an animation now sit on the bottom of the space reserved for the longest note. Before, they hung from the top and left the spare space below.
In the tape section, the statements that swap in place now share one grid cell, so their block is as tall as the tallest statement instead of a fixed 15rem.
Gaps on phones went from 21–241px to 82–118px, and on desktop every gap in the table now falls between 136 and 175px. We took the same measure-first approach when we removed the loading screen from a 3D homepage.
Round 5: a bug the script couldn't see
To even out the tape section in round 4, we had added a small drift. The title, tape and statement started at the top of the screen and moved down by the spare height, about 100px, over the course of the scroll. The section arrived and left with exactly the standard gap, and the script reported perfect numbers.
The reviewer, scrolling on a real phone: "as I scroll in the tape section, the section shifts up and down."
On a pinned screen, readers expect the content to hold still, so content sliding down while the thumb pushes the page up reads as a wobble. The script measured where content sat when the section arrived and left, and nothing in between.
We took out all vertical movement. The title sits --section-space from the top, each statement sits on the bottom (align-self: end), and the tape fills the middle with the spare height split evenly above and below it (align-content: space-between).

Start, halfway and end of the section: same positions, with a new trade and statement each time.
We checked 21 scroll positions through the section on three phone sizes in both languages. The title and tape moved 0–1px from rounding, the statement stayed 48px from the bottom edge, and the gaps to the neighboring sections held at 113px and 117px. The project's design document now says that pinned sections never move their content vertically with the scroll.
Our reviewer closed the round with one word: "good".
What the morning changed
We removed more than we added: a redundant button, a date, three pills, a repeated sentence and a whole component. Across 16 files, including the design document, the polish pass added 364 lines and deleted 387. Nearly every fix applied only to phones, and a desktop-only review would have missed the tape showing three letters at a time. All of these changes are now live on kuvuty.com.
Checklist for your own scroll-animated landing page
- Measure the gaps between sections. Record the empty screen above each section's first visible content and below its last, at phone and desktop sizes, scrolling slowly enough for the animations to keep up.
- Use one spacing token for every section, pinned or not, and set it with
clamp()so it grows with the screen. - Spread a pinned section's spare height. Pin the title to the top and the text to the bottom, and let the animation take the middle. Never move content vertically during the scroll to correct spacing.
- Size scroll-printed text for the narrowest phone. If a sentence can't fit, print shorter words on phones instead of shrinking the type.
- Give a standalone statement a job. If it only fills a screen, merge it into the section it introduces.
- Check every language. The language with the longest lines sets the type size.
- Scroll each change on a real phone after the script passes.
- Check the frame rate before the code when an animation looks frozen in a preview window.
Frequently asked questions
How do you keep spacing consistent between sections on mobile?
Give every section the same minimum space above and below its visible content, from one CSS token. On Kuvuty that token is clamp(3rem, 1.75rem + 3.2vw, 5.5rem), which is 48px on phones. Sections that pin to the screen use it too, and spread their spare height instead of leaving it at the bottom.
Why does a pinned scroll section seem to wobble on a phone?
Usually because its content moves vertically while the section is pinned. The thumb pushes the page up and the content slides down, so the page seems to shake. Keep pinned content still vertically and animate it in other ways.
How long should a pinned section run on mobile?
As long as its content needs, and no longer. On Kuvuty, the tape measure section gives each message half a screen of scroll, which took it from 6.7 screens to 3.5.
Can layout spacing be measured automatically?
Yes. A headless browser can scroll the page and record where each section's first and last visible content sits on screen. Scroll slowly so scroll-driven animations finish. The script still can't tell whether motion feels right, so a person checks on a real phone.
FNB Solutions designs, builds and runs websites and the platforms behind them. See our custom websites service and the Kuvuty case study, read about the platform in editing a live course without losing learner progress and the modular monolith that runs it on one VPS, or tell us about your project.
Sources
- Kitalima, T. (2026). Say it in Kiswahili: The Impact of English as the Medium of Instruction on Students' Comprehension and Expression in Tertiary Education. Journal of Humanities and Social Sciences, 15(1), art. 3. University of Dar es Salaam.
- GSAP, ScrollTrigger
- MDN,
clamp() - MDN,
align-content - MDN,
object-fit