adds relatedTarget to event 'hidden.bs.dropdown'

original code passes relatedTarget as an 'extraParameter' to trigger() rather than adding it to event object.