fixes overflow on vertical tabs