fixing layout for iOS < 7.0