log paging with back/next buttons and able to manually change lines per page