fixing vertical table collision