Added example slider code