removed isIpod from iPhone check and legacy support for iOS4