added hidden hack for iphone ipad detection