finalizing implementation of the endless-page