iphone and ipad adaptive design added.