React transition component with focus on transitions