updated layout for ipad/iphone