optimise for iphone5 and ipad