fix reorder position on folder and category removal