Added portrait mode for activities.