Change the items per page value to variable.