lets not have a global slider instansce
update dist file