     score.style.display = 'block';
                    game.style.display = 'none';
                    // t1.fromTo(end,.5, {height: '0%'}, {height: '100%', ease: Power2.easeInOut})
                }, 2100);

                t1.fromTo(game, .5, { height: '100%' }, { height: '0%', ease: Power2.easeInOut })
                    // .fromTo(game,.5, {y: 0}, {y: -100, ease: Power2.easeInOut})
                    .fromTo(game, .5, { width: '100%' }, { width: '0%', ease: Power2.easeInOut });



       