Moved slider creation into shared base class.