at line 114 and 145, you have both behaviors set to use the same delete button as the trigger:
if (isset($_POST["Delete"]) || isset($_POST["Delete_x"])) // Trigger
but, one of the delete buttons is named DeleteSlideshow and the other is named DeleteScroller
you will need to edit the code for the triggers to use the correct button names.