Added SVG animation functionality to expand and collapse menu hamburger icon depending on the menu state