Resize table with different sections