add slider to time