Refactored the drag and drop functionality associated with reordering
press items