make slider universal