Revert "auto paginating even when content is less than viewport"

This reverts commit cf66d20902e7dd27e29c5d0c521e33efe0384d6d.