toggleView using only effect name, resolves #1228

This resolves #1228. Demonstration of the issue is located: http://jsfiddle.net/byW3A/3/

There is an issue where `toggleView` isn't working when passed only a single parameter.