Select time interval with slider