Set duration of new event based on selection width