getTotalWidth = (total, $el) => {
  const style= getComputedStyle($el);
  const marginsWidth = parseInt(style.marginLeft) + parseInt(style.marginRight);
  return total + $el.offsetWidth + marginsWidth;
}
@param  {Number} total
@param  {HTMLElement} $el
@return {Number}