Sync slider and drop down for years variable