iPhone5 compatible version only portrait version and hardcoded key values removed