slider and timer