improvements

add "destroy" method
fix cleaning on resize