fixed expand/collapse animation