bugfix: fix loop scrolling in shorter pages