made the iphone6 version pixel perfect, rewritten the type detection system partially