Custom transition on photo viewer