here is my codesandbox link : https://codesandbox.io/s/gsap-timeline-reverse-play-vfsu9
relevent code:
components> nav.js> line:40 to line:77 and line:92
bugs:
i cant seem to reverse the animation once it is played,
and the animation is played even if i dont use any play function,
eventhough i havent mentioned the animation on button click, when i click it plays anyway.