Portrait mode is not working in this.