Problem: if-else loop dosen't work in slave Uno Arduino

Hi, hello everyone out there. i want to connect arduino mega (master) with arduino uno (slave), but there is a problem in if-else loop it dosent seems to be working or didnt execute. In this code my servos are not moving even a single degree.please help me!

[b]SLAVE CODING[/b]
#include <Wire.h>
#include <VarSpeedServo.h>
VarSpeedServo servo1;
VarSpeedServo servo2;
VarSpeedServo servo3;
VarSpeedServo servo4;
VarSpeedServo servo5;
VarSpeedServo servo6;

int servo1MinPosition = 0;
int servo2MinPosition = 0;
int servo3MinPosition = 0;
int servo4MinPosition = 0;
int servo5MinPosition = 0;
int servo6MinPosition = 0;

int servoMaxPosition = 180;
int servospeeds =150;


  
void setup()
{
  Wire.begin(5); 
  Wire.onReceive(receiveEvent);

servo1.attach(2);
servo2.attach(3);
servo3.attach(4);
servo4.attach(5);
servo5.attach(6);
servo6.attach(7);


servo1.write(180);
servo2.write(60);
servo3.write(180);
servo4.write(60);
servo5.write(180);
servo6.write(60);


delay(3000);
servo1.slowmove(servo1MinPosition,servospeeds);
servo2.slowmove(servo2MinPosition,servospeeds);
servo3.slowmove(servo3MinPosition,servospeeds);
servo4.slowmove(servo4MinPosition,servospeeds);
servo5.slowmove(servo5MinPosition,servospeeds);
servo6.slowmove(servo6MinPosition,servospeeds);


  
 
}

void loop()
{ 
}
void receiveEvent(int howMany)
  {
 while(Wire.available() > 0)
   {
      char c = Wire.read();
    switch (c) 
    {
      case 'H':
      if( servo1.read() == servo1MinPosition)
{
  servo1.slowmove(servoMaxPosition,servospeeds) ;
  }
else if( servo1.read() == servoMaxPosition)
{
 servo1.slowmove(servo1MinPosition,servospeeds) ; 
  }
  //SERVO 2 
if( servo2.read() == servo2MinPosition)
{
  servo2.slowmove(servoMaxPosition,servospeeds) ;
  }
else if( servo2.read() == servoMaxPosition)
{
  servo2.slowmove(servo2MinPosition,servospeeds) ; 
  }
  //SERVO 3
  if( servo3.read() == servo3MinPosition)
{
  servo3.slowmove(servoMaxPosition,servospeeds) ;
  }
else if( servo3.read() == servoMaxPosition)
{
 servo3.slowmove(servo3MinPosition,servospeeds) ; 
  } 
  //SERVO 4
if( servo4.read() == servo4MinPosition)
{
  servo4.slowmove(servoMaxPosition,servospeeds) ;
  }
else if( servo4.read() == servoMaxPosition)
{
 servo4.slowmove(servo4MinPosition,servospeeds) ; 
  } 
  //SERVO 5
if( servo5.read() == servo5MinPosition)
{
  servo5.slowmove(servoMaxPosition,servospeeds) ;
  }
else if( servo5.read() == servoMaxPosition)
{
 servo5.slowmove(servo5MinPosition,servospeeds) ; 
  } 
  //SERVO 6
if( servo6.read() == servo6MinPosition)
{
  servo6.slowmove(servoMaxPosition,servospeeds) ;
  }
else if( servo6.read() == servoMaxPosition)
{
 servo6.slowmove(servo6MinPosition,servospeeds) ; 
  } 
break;
case 'L':
 Serial.print("L ERROR!");
 break;
 default:
 Serial.print("DEFAULT");
    }
   }
 }