fix pdf stalling bug
WOOPS SORRY THAT WASNT SPANISH LOL
change to use def change instead of self.up and self.down