paging refactoring (parameter page, buttons disabled)