added click-and-drag for switching timeslot states