animated details pane in-out using reactcsstransitiongroup