Use the slider to select a year