add a call when the view has been swapped

when a view has been swapped into the dom I wanted to be able to be notified on the view's instance

this allows for that functionality