Transitions with jquery trigger and css. jquery