Adding ability to animate view transitions