Set viewport on resume layout