bug 1044125 - Only capture screenshot and show overlay when edge gesture...

...s are in use or task manager is used. r=alive
I don't think this work? sheetstransitionend/sheetstransitionstart is dispatched on window but the event listener is on this.element.