Quite a while back, I posted a tutorial on creating custom sliders. Perhaps it will help you:
Note in subsequent posts how @gpellicelli uses a linear scale as the base component instead of an actual slider. I feel that this is an improvement over what I initially did. He also includes a downloadable example in his post.