const HowToUseAnimation = new TimelineMax().add([
TweenMax.fromTo(['.howtouseBottleTop'], 2, {
y: 60,
x:30,
rotation: 30,
scale:1,
opacity: 1,
ease: SlowMo.easeOut,
}, {
rotation: -10,
opacity: 1,
scale:2,
x:0,
y: -200,
ease: SlowMo.easeOut,
}),
TweenMax.fromTo(['.howtouseBottleBottom'], 1, {
y: 0,
ease: SlowMo.easeOut,
}, {
y: 0,
ease: SlowMo.easeOut,
}),
]);
new ScrollMagic.Scene({
triggerElement: '#howtouseSectionForBootle',
triggerHook: 'onEnter',
offset: 550,
duration: 800,
}).setTween(HowToUseAnimation).addTo(controller);