Remove window listeners when scope is destroyed

Currently when the scope is destroyed and the sticky element is removed from the DOM the `window` listerners are left behind causing a potential memory leak.