fitting the pattern in the iPad size