Added hidden class to force transitions to work