fix potential bug in overlaps functions
cleaning timeline_box.py