added image flip on swipe