better drag/select logic for timeline