added orientation zoom fix bug for ios>6