Implemented dynamic layout for iPhone potrait mode