Support portrait only.
Remove unused code.