add modify slide function with d&d