added primitive version of the slider