changes to slider code on all screens