Trigger attach

I'm taking over #1957. I just did a rebase and a small refactor of `displayedViews`. Just gave this a read through. Even read the massive on-attach spec. I think it's ready to go in. 
To support transitions we must split it 3 ways. So it will come naturally if we adopt that solution.