added setPortrait()