Change .attr('style') to .toggleClass