Animation for edit buttoms