Added slider for changing time