Fix expanding animation. close #268