add dynamic logic for sortable handle