fixing the smasung landscape mode and nook portrait mode