Add animations to view transitions