Check for D3 before running timeline function
scrollHandler() amended to work with arrays of any length
Adds SVG text for dates on timeline bar