hide or show mid tables