Adds transitions when switching views.

I'm splitting the stuff from stateful-views in smaller and not that intrusive changes.
Maybe this is not the best way to animate the changes but works for me and does not break the views.