Modified the panel code to only take effect on a singular view.
Merge pull request #1 from grantpalin/master

Modified the panel code to only take effect on a singular view.