Substituted the .addClass and .toggleClass for .toggle() and .hide() to observe there effects