Added interactivity to timeline for selecting a year