Added changes for iPad