slider.prev() instead of the global scope search

Select $container not from the document, but get the previously inserted span element. This is useful when rendering the widget into the shadowed DOM/Document Fragment.