Add support for landscape orientation.

Change-Id: Ie41264af43153877d8ad0534dae8902c91a1ff22