Making a joystick control for two servos to hold position

I add some more deadband for joystick, its better now.But im wondering if there is any better solution for this?

if (potVal < 1172) { //instead of 1372
        angle[n] -= 10;
        if (angle[n] < 545) {
          angle[n] = 544;