fix: remove hammer events on element destroy

The hammer events weren't removed on element destroy which can cause memory leaks