add slide and duration