creating timeline layout