Initialize

The initialization code with all options looks like this:

var element = document.getElementById('slider');
var instance = new Glider(element, { height: '50%', duration: 10, timing: 'linear' });