Code Review

Take a look at jQuery's [toggleClass](http://api.jquery.com/toggleclass/).