Combined functionality into working slider that controls list