fix for sortable columns, and resize bug