moving a servo left & right with 2 buttons

here is an easier way to do it

#include <MegaServo.h>

const int  incSwitch = 8;
const int  decSwitch = 7;
const int  servoPin = 4;

int angle = 90;
int change = 2; // this value determines how much the angle changes each time through the loop

MegaServo servo;

void setup(){

  pinMode(incSwitch, INPUT);  // initialize pins
  pinMode(decSwitch, INPUT);

  digitalWrite(incSwitch, HIGH); // set internal pull up resistors
  digitalWrite(decSwitch, HIGH);

  servo.attach(servoPin);
}

void loop(){

  if( digitalRead(incSwitch) == LOW) { 
    // here if increment switch pressed
    angle = angle + change;
  }
  if( digitalRead(decSwitch) == LOW) {
    // here if decrement switch pressed
    angle = angle - change;
  }   
  angle = constrain(angle, 0, 180); // limit value of angle 
  servo.write(angle);
  delay(20); 
}