fixed a bug on hamburger animation