have slider respond to edit/delete