Add slider control for reals and integers.