Reorder pagescaling to do contents first