Move per page items to variable