Css & JS improvements on timeline