implemented new layout for iPad compatibility