fix layout for ipad