change slider colors on visibility change