revert table layout to div layout plus animation