update timeline styles