animate camera position on swipe