Use new events + CompositeDisposables on pane item switching.

Closes atom/atom#3713