auto layout adjustment for ios6 and ios7