set preview_slide to -1 by default