add slide preview to edit element