Add untested interims-hack for an afterHide callback

Needs refactoring; currently triggers before deactivating transitions are finished.
Test follows after update to Jasmine 2.