add animation for moving view with rotation