Added swipe in for picture transition.