Added landscape mode support.