changed addClass to toggleClass