working with screen rotations and repositioning views depending on orientation of device in IOS