Panel click handler fix

Fixes: https://github.com/zurb/foundation-apps/issues/278