Declaring the currentWorkPanel to avoid creating a global variable.
Merge pull request #1 from kentcdodds/patch-1

Declaring the currentWorkPanel to avoid creating a global variable.