add animation for edit fragment