As a user, i would like to avoid abrupt insertion of related pages when I scroll down to the bottom of the article.
As a user, I would like related pages to be ready to be read when i reach the bottom of the article.
The current threshold for related pages is a complicated formula.
Change the threshold to the height of viewport.
- Also make sure on page load Related Pages show up when the article fits in a screen height.
Acceptance Criteria for QA:
- Related pages are loaded when user scrolls to the bottom of page, no significant lag is observed
- Behavior upon scrolling down is smooth (no abrupt loading)