Rewrite: layout using timelineJS