fixing ios version checking in cocoon for devicemotion