anime({ targets: '#thread', width: '100%', // -> from '28px' to '100%', easing: 'easeInOutQuad', direction: 'alternate', duration: 500, loop: true });