fix responsive animation issue