putting time on a slider