updated slider trying to fix a few problems.