_parseOptions(options) {
		let defaults = new DefaultOptions().scroll

		if (typeof options != 'function') {
			defaults.callback = () => {}

            defaults = extend(defaults, options)
		} else {
			defaults.callback = options
		}

		this.element = defaults.element
		this.sustain = defaults.sustain
		this.callback = defaults.callback
		this.startCallback = defaults.start
		this.stopCallback = defaults.stop
		this.directionChange = defaults.directionChange
	}
Parses the options

@param {DefaultOptions.scroll} [options=DefaultOptions.scroll] options The options for the loop
@private