Added a delay to draggable directive