-(void)initswipGesture {
UISwipeGestureRecognizer *recognizer;
recognizer = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(handleSwipeForm:)];
recognizer.direction = UISwipeGestureRecognizerDirectionRight;
[_loginViewaddGestureRecognizer:recognizer];
[recognizer release];
}
-(void)handleSwipeForm:(UISwipeGestureRecognizer *)recognizer{
[selfcancelButtonPressed:nil];
}