Swipe event up&down

hi swipe left and right working but up down don’t. Do i overlook something?

goLeft(){
if(this.index < this.days.length - 1){
this.index++;
this.title = this.days[this.index];
console.log(this.index);
}
else{
this.index = 0;
this.title = this.days[this.index];

}

}
goRight(){
if(this.index > 0){
this.index–;
this.title = this.days[this.index];
console.log(this.index);
}
else{
this.index = this.days.length - 1;
this.title = this.days[this.index];
}
}
goUp(){
if(this.indexVertical < this.meals.length - 1){
this.indexVertical++;
this.titleVertical = this.meals[this.indexVertical];

}
alert(“up”);
}
goDown(){
if(this.indexVertical > 0){
this.indexVertical–;
this.titleVertical = this.meals[this.indexVertical];

}
alert(“down”);
}