Added transitionOff function to unbind event listners