fixes and potrait mode support for iPhone