fixed resizing issue ruining table expand