add size argument for slider creation