Refactoring:
* how to stop bubbling click event from panel