Fix typo: transitionend, not transitionEnd

This prevented the overlay from being removed in FF
Update documentation