updates to timeline layout and utils.js