Expand animation fix