Create vslider.js

Original js function, part of Coin Slider, MIT licence