draw state rects in timeline