added duration slider.