resize table, move buttons