Table resize finally works