def switchtab_left(self):
    self.currentpos = 0
    self.currenttab -= 1
    self.currenttab = max(0, self.currenttab)
    self.pad.erase()
    self.refresh_pad()
    self.display(self.currenttab)
def switchtab_left(self):
    self.currentpos = 0
    self.currenttab -= 1
    self.currenttab = max(0, self.currenttab)
    self.pad.erase()
    self.refresh_pad()
    self.display(self.currenttab)