Working buttons in timeline and CSS changes