adjust layout for iPad