Added tab collapse animation