Added portrait mode.