fix drag on details when there is only one detail in total and its being sorted