What do you mean? Do you want to have the program display on the right hand side? Or do just want a way to switch back and forth between the two? If that's the case, the TAB key will switch between making the viewport active and the edit window active.