restoring viewer from previous iteration