Ensure that width of the slider sets width of the outer container

Not slider element itself. It can be useful for precisely aligned
layouts. Also update related example.