Added callback for the resize event

Added new callback for slider resize: onSliderResize

only one file changed, not minified (sorry)!