basic layout working in ipad iphone