add slide and create event