added consraints for iPad