Fix CSS transitions definition, don't use .opened class