Add animations and transition effects. Fix flickering issues on Safari and mobile Safari. Fix mobile menu auto close on menu click.