implement layout for iphone