This is my slider written in pure JavaScript. No jQuery.