switchToParentFrame function

Change focus to the parent context.