export default (elem, value, options = {}) => {
  let max = !isNaN(options.max) ? options.max : 15
  let min = !isNaN(options.min) ? options.min : -15
  if (options.direction === 'left') {
    max = -max